package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.MuseumDao;
import com.bootdo.system.domain.MuseumDO;
import com.bootdo.system.service.MuseumService;



@Service
public class MuseumServiceImpl implements MuseumService {
	@Autowired
	private MuseumDao museumDao;
	
	@Override
	public MuseumDO get(Long id){
		return museumDao.get(id);
	}
	
	@Override
	public List<MuseumDO> list(Map<String, Object> map){
		return museumDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return museumDao.count(map);
	}
	
	@Override
	public int save(MuseumDO museum){
		return museumDao.save(museum);
	}
	
	@Override
	public int update(MuseumDO museum){
		return museumDao.update(museum);
	}
	
	@Override
	public int remove(Long id){
		return museumDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return museumDao.batchRemove(ids);
	}
	
}
